package fr.vvins.core.biz.catalog.dto;

import java.io.Serializable;

import fr.vvins.core.catalog.entity.Country;
import fr.vvins.core.common.dto.BeanDtoImpl;
import fr.vvins.core.common.dto.annotation.Dto;


/**
 * Country entity
 */
@Dto(name="Country", entity=Country.class)
public class CountryDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = 6816364526642582638L;
	private String name;
	private String code;

	public CountryDto() {
	}

	public CountryDto(String name, String code) {
		this.name = name;
		this.code = code;
	}

	@Override
	public Integer getId() {
		return this.id;
	}

	@Override
	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

}
